var mySwiper = new Swiper('.swiper-container', {
  direction: 'horizontal',
    loop: true, // 循环模式选项
    autoplay: true,
    // 如果需要分页器
    pagination: {
      el: '.swiper-pagination',
      clickable: true,
    },
    noSwiping: true,
    noSwipingClass: 'stop-swiping',
})
